import Vue from 'vue'
import App from './App.vue'
import './assets/css/common.less'
import iView from 'view-design';
import 'view-design/dist/styles/iview.css';
import './assets/style/my-theme.less';
import axios from './api/axios.js';

import router from '../src/router'

console.log('环境',process.env.VUE_APP_ENV);

Vue.config.productionTip = false

Vue.use(iView);
Vue.prototype.iView = iView;
Vue.prototype.$Message.config({
  top: 220,
  duration: 5
});
window.$Message = Vue.prototype.$Message
Vue.prototype.$axios = axios;
window.$axios = axios;

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
